home *** CD-ROM | disk | FTP | other *** search
- //
- // $Id$
- //
- // Module : vbxmsg.h
- //
- // Author : James Bish
- //
- // Date : 10/2/93
- //
- // Purpose : This module defines macros used for message mapping
- // for the MFCVBX library.
- //
- // $Log$
- //
-
- #ifndef __VBX_MSG_H__
- #define __VBX_MSG_H__
-
- #define ON_VBM_CANCELMODE() \
- { VBM_CANCELMODE, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCancelMode },
-
- #define ON_VBM_CHECKPROPERTY() \
- { VBM_CHECKPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCheckProperty },
-
- #define ON_VBM_COPY() \
- { VBM_COPY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCopy },
-
- #define ON_VBM_CREATED() \
- { VBM_CREATED, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCreated },
-
- #define ON_VBM_DRAGDROP() \
- { VBM_DRAGDROP, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDragDrop },
-
- #define ON_VBM_DRAGOVER() \
- { VBM_DRAGOVER, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDragOver },
-
- #define ON_VBM_FIREEVENT() \
- { VBM_FIREEVENT, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBFireEvent },
-
- #define ON_VBM_GETDEFSIZE() \
- { VBM_GETDEFSIZE, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetDefSize },
-
- #define ON_VBM_GETPALETTE() \
- { VBM_GETPALETTE, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetPalette },
-
- #define ON_VBM_GETPROPERTY() \
- { VBM_GETPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetProperty },
-
- #define ON_VBM_GETPROPERTYHSZ() \
- { VBM_GETPROPERTYHSZ, 0, AfxSig_lwl,\
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBGetPropertyHsz },
-
- #define ON_VBM_HELP() \
- { VBM_HELP, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBHelp },
-
- #define ON_VBM_HITTEST() \
- { VBM_HITTEST, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBHitTest },
-
- #define ON_VBM_INITIALIZE() \
- { VBM_INITIALIZE, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBInitialize },
-
- #define ON_VBM_INITPROPPOPUP() \
- { VBM_INITPROPPOPUP, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBInitPropPopup },
-
- #define ON_VBM_ISMNEMONIC() \
- { VBM_ISMNEMONIC, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBIsMnemonic },
-
- #define ON_VBM_LINKENUMFORMATS() \
- { VBM_LINKENUMFORMATS, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkEnumFormats },
-
- #define ON_VBM_LINKGETDATA() \
- { VBM_LINKGETDATA, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkGetData },
-
- #define ON_VBM_LINKGETITEMNAME() \
- { VBM_LINKGETITEMNAME, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkGetItemName },
-
- #define ON_VBM_LINKSETDATA() \
- { VBM_LINKSETDATA, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLinkSetData },
-
- #define ON_VBM_LOADED() \
- { VBM_LOADED, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLoaded },
-
- #define ON_VBM_LOADPROPERTY() \
- { VBM_LOADPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLoadProperty },
-
- #define ON_VBM_LOADTEXTPROPERTY() \
- { VBM_LOADTEXTPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBLoadTextProperty },
-
- #define ON_VBM_METHOD() \
- { VBM_METHOD, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBMethod },
-
- #define ON_VBM_MNEMONIC() \
- { VBM_MNEMONIC, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBMnemonic },
-
- #define ON_VBM_PAINT() \
- { VBM_PAINT, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaint },
-
- #define ON_VBM_PAINTMULTISEL() \
- { VBM_PAINTMULTISEL, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaintMultiSel },
-
- #define ON_VBM_PAINTOUTLINE() \
- { VBM_PAINTOUTLINE, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaintOutline },
-
- #define ON_VBM_PALETTECHANGED() \
- { VBM_PALETTECHANGED, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaletteChanged },
-
- #define ON_VBM_PASTE() \
- { VBM_PASTE, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBPaste },
-
- #define ON_VBM_QPASTEOK() \
- { VBM_QPASTEOK, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBQPasteOk },
-
- #define ON_VBM_SAVEPROPERTY() \
- { VBM_SAVEPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBSaveProperty },
-
- #define ON_VBM_SAVETEXTPROPERTY() \
- { VBM_SAVETEXTPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBSaveTextProperty },
-
- #define ON_VBM_SETPROPERTY() \
- { VBM_SETPROPERTY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBSetProperty },
-
- #define ON_VBM_WANTSPECIALKEY() \
- { VBM_WANTSPECIALKEY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBWantSpecialKey },
-
- #define ON_VBN_CHARTOITEM() \
- { VBN_CHARTOITEM, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCharToItem },
-
- #define ON_VBN_COMMAND() \
- { VBN_COMMAND, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCtlCommand },
-
- #define ON_VBN_COMPAREITEM() \
- { VBN_COMPAREITEM, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCompareItem },
-
- #define ON_VBN_CTLCOLOR() \
- { VBN_CTLCOLOR, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBCtlColor },
-
- #define ON_VBN_DELETEITEM() \
- { VBN_DELETEITEM, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDeleteItem },
-
- #define ON_VBN_DRAWITEM() \
- { VBN_DRAWITEM, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBDrawItem },
-
- #define ON_VBN_HSCROLL() \
- { VBN_HSCROLL, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBHScroll },
-
- #define ON_VBN_MEASUREITEM() \
- { VBN_MEASUREITEM, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBMeasureItem },
-
- #define ON_VBN_PARENTNOTIFY() \
- { VBN_PARENTNOTIFY, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBParentNotify },
-
- #define ON_VBN_VKEYTOITEM() \
- { VBN_VKEYTOITEM, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBVKeyToItem },
-
- #define ON_VBN_VSCROLL() \
- { VBN_VSCROLL, 0, AfxSig_lwl, \
- (AFX_PMSG)(AFX_PMSGW)(LRESULT (AFX_MSG_CALL CWnd::*)(WPARAM, LPARAM))OnVBVScroll },
-
-
- #endif
-
-